package net.wanho.customerManage.dao;

import net.wanho.commons.exception.DaoException;
import net.wanho.customerManage.po.Business;
import net.wanho.customerManage.query.BusinessQuery;
import net.wanho.customerManage.vo.BusinessVo;

import java.util.List;

public interface BusinessDao {
    long selectTotalByCondBusiness(BusinessQuery businessQuery) throws DaoException ;
    List<BusinessVo> selectCurrPageByCondBusiness(int pageNum,int pageSize ,BusinessQuery businessQuery) throws DaoException ;
    Business selectByIdBusiness(Integer businessId) throws DaoException ;
    void updateBusiness(Business business) throws DaoException ;
}
